package cool.webstudy.admin.constant.enums;

import lombok.Getter;

/**
 * @author 莫振双
 * @date 2025/1/18 17:05
 * @description: 赛事状态枚举
 */
@Getter
public enum CompetitionStatusEnum {
    /**
     * @description: 已创建
     */
    CREATED("CREATED"),
    /**
     * @description: 初始化中
     */
    INITIALIZING("INITIALIZING"),
    /**
     * @description: 初始化失败
     */
    INITIALIZATION_FAILED("INITIALIZATION_FAILED"),
    /**
     * @description: 已初始化
     */
    INITIALIZED("INITIALIZED"),
    /**
     * @description: 即将比赛
     */
    READY_FOR_COMP("READY_FOR_COMP"),
    /**
     * @description: 靶机加固中
     */
    PREPARING("PREPARING"),
    /**
     * @description: 比赛中
     */
    IN_THE_COMP("IN_THE_COMP"),
    /**
     * @description: 比赛结束
     */
    END_THE_COMP("END_THE_COMP"),
    /**
     * @description: 比赛暂停
     */
    PAUSE("PAUSE"),
    ;
    private String flag;
    CompetitionStatusEnum(String flag) {
        this.flag = flag;
    }
}
